package tut.thread;

public class MainThreadJoin {
	public static void main(String []args) {
		ThreadX t1 = new ThreadX("First thread ");
		t1.start();
		System.out.println(t1.isAlive());
		try {
			t1.join();
		} catch (Exception e) {
			// TODO: handle exception
		}

		System.out.println("t1 da xong");
		System.out.println(t1.isAlive());
	}

}
